//
//  JMMineVC.m
//  NewiOSProject
//
//  Created by JMMac on 13.1.24.
//  Copyright © 2024 范智渊. All rights reserved.
//

#import "JMMineVC.h"
#import "JMCreditView.h"
#import "JMMineHeaderV.h"
#import "JMbuttonView.h"

@interface JMMineVC ()
@property (nonatomic, strong)UIScrollView *mainSV;
@property (nonatomic, strong)JMMineHeaderV *headView;
@property (nonatomic, strong)JMCreditView *creditView;
@property (nonatomic, strong)JMbuttonView *btnView;

@end

@implementation JMMineVC

- (void)viewDidLoad {
    [super viewDidLoad];
    [self.view addSubview:self.mainSV];
}

-(UIScrollView *)mainSV{
    if (!_mainSV) {
        _mainSV = [[UIScrollView alloc]initWithFrame:(CGRectMake(0, 0, kAppW(),kAppH()-TAB_BAR_HEIGHT()))];
        [_mainSV addSubview:self.headView];
        [_mainSV addSubview:self.creditView];
        [_mainSV addSubview:self.btnView];
        
        NSArray *imgArr = @[@"",@"",@"",@""];
        NSArray *titleArr = @[@"Autorizar Google Drive",@"Cuenta bancaria",@"Política de privacidad",@"Configurar"];
        
    }
    return _mainSV;
}
-(JMMineHeaderV *)headView{
    if (!_headView) {
        _headView = [[UIView alloc]initWithFrame:(CGRectMake(0, 0, kAppW(), ScaleW(324)))];
        
    }
    return _headView;
}
@end
